#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int My_strlen(char* str)
{
	if (*str == '\0')
	{
		return 0;
	}
	while (*str != '\0')
	{
		return 1 + My_strlen(str+1);
	}
}
int main()
{
	char arr[] = "abc defghi";
	int ret = My_strlen(arr);
	printf("%d\n", ret);
	return 0;
}